package org.rxc.gift.mapper;

import org.apache.ibatis.annotations.Param;
import org.rxc.gift.domain.Employee;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rxc
 * @since 2024-05-29
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee loadByPhoneOrEmail(@Param("phone") String phone,@Param("email") String email);

    Employee getById(Long employeeId);
}
